playing with function with named result