Implemented time synchronization