Text this: Optimal replacement policy for a semi-Markov shock model.