Qn indexing work