middle adding relationship element