major stuff works now
ignore paragraphs and determine initial state as a special case