update ancient code example