Generic list generator