example using sdl