Debugged parsing function and it now uses Alan's function to convert to human readable text