complex relationship definition