still working on scanline