refine directive
add repeat[]