prepare for brach