Hoiseted variables to the top