format outpute