small refactoring to algorithm
enhancements to algorithm
clean up of unused code
specs tests
added specs - need refactoring of steps