formatting square list