fgps2 now function of k and Pmgood