adding var back in - had problems when declaring