implemented delete task