[PD-dev] savefn + callback