my cookbook to store some common piece of code