use nextToken for the big if construct
use token for tokens[l]