add prog control