please include illustrative example also, to have better understanding of problem