created custom object class