adjusting local vars