added double sync