now uses url as function name