refactoring vacancy