refactor employee model