Delete functionality implemented