add some documents, remove commented code