added get parameter to getUrl