just use the object's class