it prevents from entering without a ticket