add loop version and a download button