Experimenting with converting pipeline to traversal