added sdl extension code