support for variable number of max downloads