Added initial state constructor parameter