Complete traverse logic