add download method in toolkit