mid relation