add support for the openState to be true initially.
0.5.1