public int? maximum_reward() { if (this.ValidRewards.Length > 0) { return this.ValidRewards[this.ValidRewards.Length - 1]; } else { return null; } }