doc update due to code refactoring