before final branch