made an example for scanning, this is what we should use in FRE