Text this: Optimal procedures for stochastically failing equipment /