For: - if any of the variables are undefined - if the item type is not in the itemLifetimes object - when the page hasn't finished loading properly
For: