added the guess pw method