use repate instated of make R by hand