Added some logic to pawns