added relationship integrity