adding relations - slightly changing layout