improve code and comment in example 6x
improve README