added state control manager phase 1