foreground and background. Continuous scanning