Moving creation of list to it’s own method.