update and added 2 new examples (not tested yet)