ex12: tweak params/constants for nice output