Bad things might happen if temp is empty, are we sure if that it will never, by whichever reason be?