implemented more sdl interfaces