start of vacancies functionality added