Changed to byte, probably doesn't matter.
Block number updated outside of conditional