added pawn helper method, except for pawn promotion