some changes to make STDOUT more readable