Issue #194, Adding documentation
changing some of my logic