allow specification of URL and target