Add code up to Lab 5.