impelemented the dowload activity