adding the option to select the serie and parallel programs