updated to reduce scanning frequencies