base code and skeleton for token types