Added TaskGenerator function