added dualproject.R