fixed misspellings and modified the output format for the analysis