Use references to clean up some code