Add comparison operators before adding branching