why the need for references here?