switched ints for bytes