first working version of sdl application