Eliminates unused variable warning from repeat