ability to use dictionary notation to pass parameters into url
fixed so it's only grabbed once