Nit: Please have an empty line to separate the assignments from the var statements. And you can also remove the extra empty line after these two assignments.