added `$url` variable