adding parameters to procs to handle finer grain queries