references problem