add InterRestriction function