add main to browser