added extended constraints for h2h