abstracted I2C functions. meh