implementing delete on an object