updated example, build script, and public header