edited URL string method