changed seconds to scans