refactored find to take optional board in case of pawn