now all changes can be done in run_optcont