added programs
added example for state parsing