Learning from the past mistakes helps to prevent them in the future.