cleaning the initial framework