formatting sublists