Pass in the reference as an argument