changing var declaration