Index: trunk/psphot/src/psphot.c
===================================================================
--- trunk/psphot/src/psphot.c	(revision 4398)
+++ trunk/psphot/src/psphot.c	(revision 4421)
@@ -3,8 +3,8 @@
 int main (int argc, char **argv) {
 
-    psMetadata  *config  = NULL;		// user-provided configuration information
+    psMetadata  *config  = NULL;
     psImageData *imdata  = NULL;
     psArray     *sources = NULL;
-    psArray     *peaks   = NULL;		// a list of pmPeaks 
+    psArray     *peaks   = NULL;
     pmPSF       *psf     = NULL;
     psStats     *sky     = NULL;
@@ -25,4 +25,5 @@
     sources = source_moments (imdata, config, peaks);
 
+    // classify sources based on moments, brightness
     basic_classes (sources, config);
 
@@ -30,5 +31,5 @@
     sources = psArraySort (sources, by_SN);
 
-    // use stellar objects SN > PSF_SN_LIM
+    // use bright stellar objects to measure PSF
     psf = choose_psf_model (config, sources, sky);
 
@@ -39,8 +40,5 @@
     apply_psf_model (imdata, config, sources, psf, sky);
 
-    // XXX this test compares dSx,dSy distribution with model.
-    // XXX it has some problems
-    // test_psf_scatter (sources);
-
+    // fit extended objects with galaxy models
     // fit_galaxies (imdata, config, sources);
 
