added a state object
Merge branch 'master' of github.com:memery/leczair