updated code section
added arm calibration