changed var syntax