adding class stuff