start of a FSM parser for JO