makes todos a factory