add loadingType and downloadingType