sdl apllication improved