simplifying flow.