Implement pattern recovery