print func result