add library and example