code styling for list & show