add relations and other