Changed myValue from a byte to an int