work on first repeat