Trying to figure out the issue with parsing