add auto document
the final version