Adds Time Stamped Entity code