implement branch hazard