The basic function of this downloadr