more learned from Java function param passs