voting logic is working in hazard model