linked to timespent.js