added map show function