class, set vs list, map&filter vs loop