Added acelerometer (it's optional).