Base code for an assignment at CESF