Debugged Lab 3