use branches for searching