Is there a way this initial set could be avoided? We're setting the DT's data at both the top and bottom of this funciton.