adding all class stuff