added time range, increment and multiple support to gatewayCapitalization
merge