Renamed counter variable 'i' to relieve naming checkbox clashes