removed all warnings except for those in Repeat