diff --git a/content_entity_example/src/ContactInterface.php b/content_entity_example/src/ContactInterface.php
index c9501cb..eb3b448 100755
--- a/content_entity_example/src/ContactInterface.php
+++ b/content_entity_example/src/ContactInterface.php
@@ -8,11 +8,12 @@ namespace Drupal\content_entity_example;
 
 use Drupal\Core\Entity\ContentEntityInterface;
 use Drupal\user\EntityOwnerInterface;
-
+use Drupal\Core\Entity\EntityChangedInterface;
 /**
  * Provides an interface defining a Contact entity.
  * @ingroup content_entity_example
  */
-interface ContactInterface extends ContentEntityInterface, EntityOwnerInterface {
+interface ContactInterface extends ContentEntityInterface, EntityOwnerInterface, EntityChangedInterface {
 
 }
+
diff --git a/content_entity_example/src/Entity/Contact.php b/content_entity_example/src/Entity/Contact.php
index b8e40d2..20d98c8 100755
--- a/content_entity_example/src/Entity/Contact.php
+++ b/content_entity_example/src/Entity/Contact.php
@@ -12,6 +12,7 @@ use Drupal\Core\Entity\ContentEntityBase;
 use Drupal\Core\Entity\EntityTypeInterface;
 use Drupal\content_entity_example\ContactInterface;
 use Drupal\user\UserInterface;
+use Drupal\Core\Entity\EntityChangedTrait;
 
 /**
  * Defines the ContentEntityExample entity.
@@ -125,8 +126,12 @@ use Drupal\user\UserInterface;
  * they can by changed in code. In the definition we can define if the user with
  * the rights privileges can influence the presentation (view, edit) of each
  * field.
+ * 
+ * The class also uses the EntityChangedTrait trait which allows it to record
+ * timestamps of save operations.
  */
 class Contact extends ContentEntityBase implements ContactInterface {
+  use EntityChangedTrait;
 
   /**
    * {@inheritdoc}
@@ -319,3 +324,4 @@ class Contact extends ContentEntityBase implements ContactInterface {
     return $fields;
   }
 }
+
