Code for ARC lab's baxter