Working on deletion functionality