task completion backend code added