traversal iterally