pass tokens as a vector