refactoring salary