added max ids