adding support for lists of all the primitive types