Hooking up delete logic