Outer the download methods to improve speed