correct type to format list correctly