consumindo a factory