starting code generator