range query added