Got some more examples working but I am still unable to bind query variables.