style: move variable declaration