created logic for work with vacancies