before trip commit