added term query