updated the readme and the doc
added errors