add static_cast