Nit: multiple var declarations preferred.