added pdf lib, better performance in shelf-adapter