cast to U32 to silence warning