add synchthreads