expanded show and added some const