Adding paramaterized queries