init version of a generic list