repeated integer problem - v2