Solved repition problem and number