implemented pseudo downloadbutton