Refatorando service