add address bar function