working on client downloading properly