Changed *foundRid to **foundRid