changed bytes to ints