Reformating list in table