removed unnecessary explicit use of block variable