Add element label and include timestamp in the attributes array. Debug.