some sdl additions