added the beginning to strtok