making object class