added tokenType config option