Change state from int to byte