use scan pattern from configuratin