Why doesn't this work for creating lists? - Modular