put code into Gopi's new paradigm