use hasPassedByReference