created relationships table