add separator argument to repeat