to show how dynamic_cast works for downcast case