all kinds of useful snippet