types of barrage functions