get class object instance