tickets can be used to control entrance to private functions