implement deleting task