stackTokens method