Adding solution p