Improved show function.