Added initial state transitioning