added barriers