add state moand and random