why have you created a MyDummy*? can't you use the Dummy* directly?