implement delegate methods for download and filtration