function in utils now returns time measured in seconds ago