moved model dowload to model