handling branches a little better