quick and dirty code generator