Added in the delete functionality