advance example and minor clean

advance example and minor clean