lib and example