reformed orientation code
made sure calibration was not required