relation and equality conditions