add function search by address bar