use format for output