added time synchronization;