add dynamic library example