completion working with branches