changed the spelling error in the printed msg in main