cleaned up the delete method, ToDo: the create test is still not passing