made output more readable according to issue #2