switched "var" to "public"