almost got my scanline
Input working