rename to tokensToValue, refactor so it only takes one param