Index: trunk/Mars/mcore/fits.h
===================================================================
--- trunk/Mars/mcore/fits.h	(revision 18926)
+++ trunk/Mars/mcore/fits.h	(revision 18953)
@@ -85,4 +85,11 @@
             return t;
         }
+
+        /* Specialization needs to be outside namespace-scope, see below
+        template<>
+            std::string fits::Entry::Get<std::string>() const
+        {
+            return value;
+        }*/
     };
 
@@ -101,4 +108,5 @@
         struct Column
         {
+            size_t id;
             size_t offset;
             size_t num;
@@ -107,4 +115,5 @@
             char   type;
             std::string unit;
+            std::string comment;
             Compression_t comp;
         };
@@ -287,4 +296,5 @@
                 const std::string unit = Get<std::string>("TUNIT"+num, "");
                 const std::string comp = Get<std::string>("ZCTYP"+num, "");
+                const std::string comm = Get<std::string>("TCOMM"+num, "");
 
                 Compression_t compress = kCompUnknown;
@@ -331,5 +341,5 @@
                 }
 
-                const Table::Column col = { bytes, size_t(n), size, n*size, type, unit, compress};
+                const Table::Column col = { i, bytes, size_t(n), size, n*size, type, unit, comm, compress };
 
                 cols[id] = col;
@@ -1045,3 +1055,9 @@
 };
 
-#endif
+template<>
+std::string fits::Entry::Get<std::string>() const
+{
+    return value;
+}
+
+#endif
