solution to p07