Altered return status to be non zero if there are errors parsing data