added query form