simplified printout logic
Merge pull request #11 from JackSpirou/develop

simplified printout logic