add optical control