integrated the SDL library