make url as global variable