better formatting
insert missing line
fix small errors and an example on the lib usage