Trying to solve PIE