added i class variable