Implemented delete task