A bunch of Rohan's code