class
add object and instance