This looks like an error - should it be an assignment? I'd have expected a comparison - "=="