added example which queries an url parameter