delete object's method