code to be analysed for research purposes