made the delete working