Edit ps, delete ps functions