move var declaration