I think I'd prefer a different variable name than browser. How about `device`?