rescoped several variables