removing dependency on URL