Added query option in simple query.