modify output to dynamical pxpy