Code related to thesis work