added example for list factory