Is there a more simple neater way to call by reference for this code

Printable View