added randomisation to generated questions