Starting revising i2c code