Re: above comment, it might be easier (though not sure if it's more legible) to wrap the `if` tests in `if (bin.active === 'y') {`