WIP: support scanline data