converting to SDL2