taskConfig is now a member of the class