working delegation for downloading data. working on detail view now