move variable declaration