Adding solution to p8