statistics query added