completed exercise/delete functionality