Any reason next can't be a char here?