A bit of branch logic written in.