solving P02