Adding state example for lesson 2