static_cast<uint16_t> here