modify getTaskFromParameterList

change with new task constructor