use input instead of values in process callbacks