updated docs due to refactoring