added branch controller