adding last exercise: dualvar