list is a function in registry, hence using types.ListType