Changed branch to use proper branch method