rename handleURLChange to handleUrlChange