Inlined a bunch of WHEREs