refactor employee