making vars static