sets up initial framework