add query form