add query compiled level 2