working on better handling of downloads.