created the barrier