Adding delete Event tring to get it to run the right function