(format2): New function, replaces format1