traverse method refactoring

+ tests
version 0.0.10