end-to-end flows and formatting