use references for a possible performance gain