.when returns self for chaining