more progress

added randomized barriers, time, bug fixes