Add accelerometer structure