external lib and example