typo
uncommented useless dynamic allocation code