Updated Repetition, ready for testing.