Better repeat func.