smarter way to calculate browsres