first implementation of delete event