Misplaced initialisation of ntimes corrected.