use new end/endThen methods