Printing results in human readable form
Small refactoring