fixed version doc
improved function docs
min