ajusted helper pawn and rook functions