query execution now parametric