object reference funtion call pattern