added some c to display a list view