Re-formatting of list