move url into method signature