added deletion event listener