make state available
better input example