Working although ugly looking solution
small error of indexing in the new parser helper