some recipes of code