fixing default val allocation on empty list; went ruby-ish :sleeping: