simplify query entry a mite