Prepared the layout for multiple lists.