Definitely better than "no method [] for nil:NilClass"