Get actual paragraphs from decision
Added utility function
Format code