added library from jb