single function to create (and save AVETable)
cleaned values, treatvalueAs