added pawn functionality