handle url as argument