added setInterval to make clock actually run