adding class declarations