remove download part of download code