modify calc I2P method