hack for PCost