accelerometer params default to null