Transformed parse to parseNext function.