Code for analysis projects