adding a var out of the scope