just curious: what does the masking do? (and why don't you do it on the preceding line) ?