Half-debugged Lab 5