Make marked frequencies dependent on mode