Repeats

this is based off of #22