add repeat, fix typos