commented the unset_sync and set_sync fuctions