check repeat correctly (I suppose?)