added repeat plugin and fixed typos