array query added