completed rankings code