Code for the research subdomain