new version of Control_IR