some snipppets