auto generate code for all kinds of programs