implemented eq for pawn