Maybe traversing in wrong order