refactoring erro 56