currentAlgo is now visible to control_algo only #49