add missing change: rename on_seen -> on_cycle