implemented download manager