refactoring com proxu method