i wonder if you can also pass a reference instead of copying.