Need help in maximal relations