test and comments for randomisation