adding barriers