Implemented FOG syncing.