object deletion working