bug
reduction of scope