move to uint32_t values and logs
move to uint16_t