Changed repeated to int