Code for research internship memoire