use value from tx