Refactored Transform.and() to Transform.then()