Depending on 'j' unnecessary as all scores calc'ed on same query