switch fetching from call to cast