add restriction queries