tutorial 1 state