changed IDs, added timestamp attribute to textUnits, added code comments