during the next five days he smoked endless cigarettes , paced an infinite number of times around his room , and finally got out the yellow section of the ipvic directory to look up the local bed girl agencies .