dynamic_cast --> static_cast