store frequently used values in the Block. also give scanForNext an out from entering the loop at all