initial framework for code