mechanical part re-written but a serious bug has been introduced.