solutions to lab 13