returning variables

which variables prefer to choose if outside of scope occurs