implementing delete tasks method WIP