added many examples, improved things a bit