Codes from research_assistant in Byrne MacLab