support for parameterised queries