client procedure calling working with return values