adding some documentation
Minor updates to example