removed asynchronous call to delete