Use uint8_t instead of int + index zero based