masking scope by first returned value