fix v2.0 and add examples