Now generates list dynamically