move to uint16_t