Delete functionality part completed