fix import bug and add examples