be prepared for TypeErrors due to empty lists everywhere