refactoring the get proxy base method