Improve document, fix syntax