Output formatting without using a callback