Refactoring
Added headlines to result output