Renamed the counter to 'j'