Add event system to delete