Now that I see it I guess I had a windmill there and could have taken the a and b pawn too. I was focused more on taking the h8 rook though with Rxh7.