cbRepeat now working, but still incomplete