made a function to open browser when called