added lib.
added more examples.