Revised toTask Methods to Add Task ID