Role of maintenance in life-cycle engineering