added additional barriers
added specific flag to runall