Task generator working fine