added accelerometer device