three strikes and refactor