Implemented list generation
Adapted demo