Implemented Delete functionality