implement task deletion