made some changes to recalibrate position and recalibrate