getting a list for the main page