customized for freq scan