added function to launch subj processes