forwarding for branch detection