trying to get barrier working for thread 0