Create State Machine for Vacancy