repeat changed to rotate
minor improv