Extracted createNullList() method