hw 3 lab 2 display errors