fixes #38 a TaskFactory