in fact , he seemed to consider the problem of keeping food in jamie 's stomach something of a professional challenge , and spent hours in mystic contemplation of his spice rack and pantries-all to no avail .