added one file for sn,cn,dn so can run all at same time on different cores