using references is another way to do it.
Do you have an example of this?