Adds first non-working code to accelerometer