redo at most 5 times