nleft, nright, nboth, confidence, support functions added