completed seq version and a sdl demo...