changed representation of relations