pass service url as argument