Move var's to top