allow  value pre processor at encode time