Several issues with byte. Switch back from byte to int