trying to capture the parameters passed to the url