lab 1 + debugging