states scan::starting, scan::complete