Barrier layer or semiconductor device making