change state to be atom