add resume downloding feature