checkAndHandleInitialStates