working scanline