an attempt to parse josh in code