Index: ammosreader/AmmosGlobalFrameHeader.py
===================================================================
--- ammosreader/AmmosGlobalFrameHeader.py	(revision 25c80a7bf125fd18905db649858395cde8aac23f)
+++ ammosreader/AmmosGlobalFrameHeader.py	(revision 338e792aa5613a9f079efb154b90f162c193fb21)
@@ -18,4 +18,5 @@
         magic_word = elements[0].hex()
 
+        logger.debug("Header created")
         if magic_word != cls.MAGIC_WORD:
             return None
@@ -37,5 +38,5 @@
         """I return a new instance of myself initialized with above parameters."""
         if magic_word != type(self).MAGIC_WORD:
-            logging.error("Wrong magic word found")
+            logger.error("Wrong magic word found")
             self.magic_word = magic_word
         else:
Index: ammosreader/PDW.py
===================================================================
--- ammosreader/PDW.py	(revision 25c80a7bf125fd18905db649858395cde8aac23f)
+++ ammosreader/PDW.py	(revision 338e792aa5613a9f079efb154b90f162c193fb21)
@@ -25,11 +25,10 @@
         """
         if (len(byte_string) != 32):
-            raise TypeError("Too many bytes")
+            raise TypeError("Byte count invalid")
 
         parts = struct.unpack('<Q4s4s4s4s4s4s', byte_string)
+
         nanoseconds = (parts[0])
-        print("Nanoseconds", nanoseconds)
         unix_time = np.datetime64('now', 'ns').astype(int)
-        print("Unix time", unix_time)
         if nanoseconds >= unix_time:
             raise OverflowError("Timestamp invalid")
