public def should have explicit result type