first stab at support for paramaterized queries