PSI trying to solve issue 6