String based query added