last change before brian's updates
just for the fun of it
fixed second strtok_r line (buffer to NULL)