Variable declarations moved