add acception of token as param