Index: trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc	(revision 7804)
+++ trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc	(revision 7864)
@@ -312,12 +312,17 @@
         return 0;
 
+    // Check whether more than one neighbor contains useful information,
+    // which mean it can later be interpolated
     if (GetNumSuitableNeighbors(type, *pix)>1)
         return 0;
 
+    // If the requested area-index is valid check whether it is the requested one
     if (aidx>=0 && pix->GetAidx()!=aidx)
         return 1;
 
+    // Remove the pixel from the list of pixels to be checked
     list.RemoveAt(idx);
 
+    // Do the same for the neighbor pixels recursively and count the 1-results
     Short_t cnt = 1;
     const Int_t n = pix->GetNumNeighbors();
@@ -325,4 +330,5 @@
         cnt += GetNumMaxCluster(type, list, pix->GetNeighbor(i), aidx);
 
+    // return the number of neighbor pixels/clusters which have unsuitable-type type
     return cnt;
 }
