changing the initial state from false to nil