a gate is used for controlling access.