it is done in downloadhelper for free