newton: using byte slices instead of string-part1