adding more functionalities to download manager