when it was time for lunch , a bell rang , and they were transported to a cafeteria , where their food and drink were produced and delivered to them by the machine , in response to preferences which they indicated by choosing from a menu created by the machine .