add pdot in frees of Function