refactored browser