log int instead of float on GetDoubleValue
logging
more flexible varEval_t