added an ability to send time to client