ict comprehension and list comprehension in pack/unpack widgets