adding relations