another attempt to get nested lists to format as intended