much better way to finish the downloading