initial states set from outside