added base with sdl