Added time sync method