change variable from byte to int