finished integrating i2c