updated to use latest version of library