change signature of delete