add tokens implementation.