show function working