you can pass browser to the function without creating new one