outputs to browser