make inByte not constant