test implicit reference