added library and example