filtered the way relationships were created