Adding docs
refactoring to use docs alone