ref and alt indices