show function result in console