adding switch to just print the tokens