Shifting out of arrays should be handled elsewhere.
Created createRepeater() method.