query attempts