finially finished all the prototypes. time to finish code generation based on these prototypes