3 layers of repairs