random demonstration of traversal logic