Code for one of my papers in university