Add code to generate showlist