b query added