upgraded to SDL 2.0