add method for delete object