worked on 2d codegen
initialized modelred testing