changed to 8 bit integers