implement task removing