added new download fucntion
: