Is there a way to get more than one value from a function. Presently function just return one value as specified in its return type.