Added the delete functionality, no error handling.