added sdl2 helpers