REFACTOR: Moved parsing and result reporting into its own method