remove _scan_for_character as it was never used