Integration of VNH Assignment with State Machine