Simplified list transversal code.