format printing better