added example and some figures