changed task list to Generic Array