primative parsing of problem description